sound_pool object
This method pauses all of the sounds in the sound pool.
void pause_all()
Parameters:
None.
Return value:
None.
Remarks:
To restart all the sounds, you must call the resume_all method or call the resume_sound method on each slot.
Example:
#include "sound_pool.bgt"
sound_pool sounds;
void main()
{
sounds.max_distance=70;
sounds.play_stationary("sounds/ambience.wav", true);
wait(5000);
sounds.pause_all();
wait(5000);
sounds.resume_all();
wait(5000);
}